import http from '../../../assets/js/http'

const BASE_URL = '/dev-api'
export const battleList = () => {
  return http.requestGet(BASE_URL + '/model/findAll')
}

export const vs_add = (params) => {
  return http.requestPost(BASE_URL + '/model/add/', params)
}

export const vs_del = (id) => {
  return http.requestDelete(BASE_URL + '/model/del/' + id)
}
